#ifndef __SWEI_BLINDDATA_H
#define __SWEI_BLINDDATA_H

#include <stdint.h>
#include "swei_common.h"

#ifdef __cplusplus
extern "C" {
#endif

void swei_cache2blinddata(swei_datatype_t *dat);

void swei_blinddata_push(uint8_t *flash_data_ptr, uint32_t flash_data_len);
int32_t swei_blinddata_pop(uint8_t *flash_data_ptr, uint16_t max_flash_len);
int32_t swei_blinddata_peek(uint8_t *flash_data_ptr, uint16_t max_flash_len);
int32_t swei_blinddata_item_get(void);
int32_t swei_blinddata_clear(void);

#ifdef __cplusplus
}
#endif

#endif // __SWEI_BLINDDATA_H